<template>
    <input type="text" v-model="cityName">
</template>

<script setup>
    import {ref, watch} from 'vue'
    const cityName = rey('Shanghai')
    watch(cityName, (newVal, oldVal) => {
        
    })
</script>